package com.handpay.nocardpay.baselibrary.main.mine.model.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.handpay.nocardpay.baselibrary.commbase.model.bean.BaseResponseBean;

/**
 * Created by sxshi on 2017/8/14.
 */

public class DayLimit extends BaseResponseBean implements Parcelable {

    /**
     * creditCardLimit : 2000000
     * dayLimit : 10000000000
     * dayMagLimit : 10000000000
     * dayTraffic : 0
     * debitCardLimit : 2000000
     * icCreditCardLimit : 5000000
     * icDebitCardLimit : 5000000
     * monthLimit : 100000000000
     * monthMagLimit : 80000000000
     * monthTraffic : 0
     * wdPermission : 11
     */

    private String creditCardLimit;
    private String dayLimit;
    private String dayMagLimit;
    private String dayTraffic;
    private String debitCardLimit;
    private String icCreditCardLimit;
    private String icDebitCardLimit;
    private String monthLimit;
    private String monthMagLimit;
    private String monthTraffic;
    private String wdPermission;

    public String getCreditCardLimit() {
        return creditCardLimit;
    }

    public void setCreditCardLimit(String creditCardLimit) {
        this.creditCardLimit = creditCardLimit;
    }

    public String getDayLimit() {
        return dayLimit;
    }

    public void setDayLimit(String dayLimit) {
        this.dayLimit = dayLimit;
    }

    public String getDayMagLimit() {
        return dayMagLimit;
    }

    public void setDayMagLimit(String dayMagLimit) {
        this.dayMagLimit = dayMagLimit;
    }

    public String getDayTraffic() {
        return dayTraffic;
    }

    public void setDayTraffic(String dayTraffic) {
        this.dayTraffic = dayTraffic;
    }

    public String getDebitCardLimit() {
        return debitCardLimit;
    }

    public void setDebitCardLimit(String debitCardLimit) {
        this.debitCardLimit = debitCardLimit;
    }

    public String getIcCreditCardLimit() {
        return icCreditCardLimit;
    }

    public void setIcCreditCardLimit(String icCreditCardLimit) {
        this.icCreditCardLimit = icCreditCardLimit;
    }

    public String getIcDebitCardLimit() {
        return icDebitCardLimit;
    }

    public void setIcDebitCardLimit(String icDebitCardLimit) {
        this.icDebitCardLimit = icDebitCardLimit;
    }

    public String getMonthLimit() {
        return monthLimit;
    }

    public void setMonthLimit(String monthLimit) {
        this.monthLimit = monthLimit;
    }

    public String getMonthMagLimit() {
        return monthMagLimit;
    }

    public void setMonthMagLimit(String monthMagLimit) {
        this.monthMagLimit = monthMagLimit;
    }

    public String getMonthTraffic() {
        return monthTraffic;
    }

    public void setMonthTraffic(String monthTraffic) {
        this.monthTraffic = monthTraffic;
    }

    public String getWdPermission() {
        return wdPermission;
    }

    public void setWdPermission(String wdPermission) {
        this.wdPermission = wdPermission;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.creditCardLimit);
        dest.writeString(this.dayLimit);
        dest.writeString(this.dayMagLimit);
        dest.writeString(this.dayTraffic);
        dest.writeString(this.debitCardLimit);
        dest.writeString(this.icCreditCardLimit);
        dest.writeString(this.icDebitCardLimit);
        dest.writeString(this.monthLimit);
        dest.writeString(this.monthMagLimit);
        dest.writeString(this.monthTraffic);
        dest.writeString(this.wdPermission);
    }

    public DayLimit() {
    }

    protected DayLimit(Parcel in) {
        this.creditCardLimit = in.readString();
        this.dayLimit = in.readString();
        this.dayMagLimit = in.readString();
        this.dayTraffic = in.readString();
        this.debitCardLimit = in.readString();
        this.icCreditCardLimit = in.readString();
        this.icDebitCardLimit = in.readString();
        this.monthLimit = in.readString();
        this.monthMagLimit = in.readString();
        this.monthTraffic = in.readString();
        this.wdPermission = in.readString();
    }

    public static final Creator<DayLimit> CREATOR = new Creator<DayLimit>() {
        @Override
        public DayLimit createFromParcel(Parcel source) {
            return new DayLimit(source);
        }

        @Override
        public DayLimit[] newArray(int size) {
            return new DayLimit[size];
        }
    };

    @Override
    public String toString() {
        return "DayLimit{" +
                "creditCardLimit='" + creditCardLimit + '\'' +
                ", dayLimit='" + dayLimit + '\'' +
                ", dayMagLimit='" + dayMagLimit + '\'' +
                ", dayTraffic='" + dayTraffic + '\'' +
                ", debitCardLimit='" + debitCardLimit + '\'' +
                ", icCreditCardLimit='" + icCreditCardLimit + '\'' +
                ", icDebitCardLimit='" + icDebitCardLimit + '\'' +
                ", monthLimit='" + monthLimit + '\'' +
                ", monthMagLimit='" + monthMagLimit + '\'' +
                ", monthTraffic='" + monthTraffic + '\'' +
                ", wdPermission='" + wdPermission + '\'' +
                '}';
    }
}
